package cn.shengchao.examstar.rpc.wecom.api;

import cn.shengchao.examstar.rpc.wecom.dto.ExternalContactUserDto;
import cn.shengchao.examstar.rpc.wecom.dto.WeComCpUserDto;
import cn.shengchao.examstar.rpc.wecom.dto.WeComDeptUserDto;

import java.util.List;

/**
 * @program: examstarapi
 * @description: 企业微信数据同步Api
 * @author: Xiong weiqiang
 * @create: 2025-04-10 11:24
 */
public interface WeComSyncToLocalApi {

    /**
     * 同步部门用户列表,同步用户数据到本地数据库
     * @param deptUserDtoList
     */
    void syncDeptUserList(List<WeComDeptUserDto> deptUserDtoList);

    void syncUserInfoToLocal(WeComCpUserDto weComCpUserDto);

    void syncLocalUserFollows(List<String> followUserIds);

    void syncLocalUserCustomers(String userId, List<String> customers);

    void syncExternalUserCustomerDetail(ExternalContactUserDto externalContactUserDto);
}